package com.exam.mysql;

import com.exam.entity.SysChinaProviceInfo;
import com.exam.entity.SysChinaProviceInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysChinaProviceInfoDao {
    long countByExample(SysChinaProviceInfoExample example);

    int deleteByExample(SysChinaProviceInfoExample example);

    int deleteByPrimaryKey(Integer proviceid);

    int insert(SysChinaProviceInfo record);

    int insertSelective(SysChinaProviceInfo record);

    List<SysChinaProviceInfo> selectByExample(SysChinaProviceInfoExample example);

    SysChinaProviceInfo selectByPrimaryKey(Integer proviceid);

    int updateByExampleSelective(@Param("record") SysChinaProviceInfo record, @Param("example") SysChinaProviceInfoExample example);

    int updateByExample(@Param("record") SysChinaProviceInfo record, @Param("example") SysChinaProviceInfoExample example);

    int updateByPrimaryKeySelective(SysChinaProviceInfo record);

    int updateByPrimaryKey(SysChinaProviceInfo record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_china_provice_info
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysChinaProviceInfo> list);
}